<#include "../common/constant.ftl" />
<title><#if bank??>修改<#else>添加</#if>银行卡信息</title>

<@p.form action="${ctx}/admin/collocation/${collocation.id}/bankSave${suffix}" id="validation-form" method="POST" >
	<@p.text colspan="1" width="50" name="name" label="开户人姓名" value="${(bank.name)!''}" required="true" />
	<@p.text colspan="1" width="50" name="bankCard" label="卡号" value="${(bank.bankCard)!''}" required="true"/>
	<@p.tr />
	
	 <@p.td colspan="1" width="50" label="银行" required="true">
		<#assign bankSelectMap=dicSetting.getParameterMap("cfg.bank") />
		<@ace.formSingleSelect options=bankSelectMap  checkValue="${(bank.bankName)!-1}" name="bankName" />
	</@p.td>
	<@p.text colspan="1" width="50" name="bankAddress" label="开户行" value="${(bank.bankAddress)!''}" />
	<@p.tr />
	
	<@p.td colspan="2">
		<@p.submit value="提 交"/> &nbsp; <@p.reset value="重 置"/>
	</@p.td>
	<#if bank??>
		<input type="hidden" name="bankid" value="${(bank.id)!''}">
	<#else>
		 <input type="hidden" name="pager" value="${(pager.toString())!}"/>
	</#if>
</@p.form>
${errorMsg!''}
<div style="font-size:14px;color:red">${errorMsg!''}</div>